<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>趣乐聘</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="main.css" />
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/vue/2.5.17-beta.0/vue.js"></script>
</head>

<body>

    <!-- 头部 -->
    <header>

        <nav>

            <div class="logo">
                <div>趣</div>
                趣乐聘
            </div>

            <ul>
                <li data-type="home" class="on">首页</li>
                <li data-type="search">职位搜索</li>
                <li data-type="r_job">返利职位</li>
                <li data-type="info">职场资讯</li>
                <li data-type="my">关于我们</li>
            </ul>

            <div class="banner">
                    <h2>趣乐聘，求职找工作跳槽神器。</h2>
                    <h3>帮您找到最优质的候选人</h3>
                    <div></div>
                </div>

        </nav>

    </header>



    <!-- 主体区域 -->
    <main>
        <article>

            <!-- 名企推荐 -->
            <section class="firm">
                <ul>
                    <!-- <li>
                        <div class="logo"></div>
                        <small>
                            单击此处以返回 Amazon Web Services 主页 
                        </small>
                    </li> -->
                    <li v-for="item in starFirmList">
                        <div class="logo" :style="'background:url('+item.Logo+')'"></div>
                        <small>{{item.title}}</small>
                    </li>
                </ul>

            </section>

            <!-- 搜索 -->
            <section class="search">
                <div>
                    <input id="search_val" type="text" placeholder="搜索职位、公司" />
                    <button id="search_but" onclick="search();">搜索</button>
                    <a href="../search/index.html?key=小时工">小时工</a>   
                    <a href="../search/index.html?key=客服">客服</a>   
                    <a href="../search/index.html?key=电子">电子</a>   
                </div>
            </section> 

            <!-- 职位推荐 -->
            <section v-if="retMoney.length > 0" class="job-list" data-info="tuijian">
                
                <div class="head">
                    <div class="title">
                        职位推荐
                    </div>
                </div>

                <ul>
                    <li v-for="item in retMoney" @click="toinfo(item)">

                        <img :src="item.Logo" />

                        <h4>{{item.title}}</h4>

                        <div class="price">
                            {{item.moneyMin}}-{{item.moneyMax}}
                        </div>

                        <p>
                                {{item.workTime == 0 ? "工作经验不限" : item.workTime +"年"}}
                                <span class="interval">|</span>
                                {{item.CTLableList}}
                        </p>

                    </li>
                </ul>

            </section>

            <!-- 求职返利 -->
            <section class="job-list" data-info="fanli" style="margin-bottom: 50px;">
                    <div class="head">
                            <div class="title">
                                求职返利
                            </div>
                        </div>
        
                        <ul>
                                <li v-for="item in jobInfoLsit"  @click="toinfo(item)">

                                        <img :src="item.Logo" />
                
                                        <h4>{{item.title}}</h4>
                
                                        <div class="price">
                                            {{item.moneyMin}}-{{item.moneyMax}}
                                        </div>
                
                                        <p>
                                                {{item.workTime == 0 ? "工作经验不限" : item.workTime +"年"}}
                                                <span class="interval">|</span>
                                                {{item.CTLableList}}
                                        </p>
                
                                    </li>
                        </ul>
            </section>

            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />

        </article>
    </main>

    <!-- 底部 -->
    <img id="bottom" src="../../staic/bottom.png" style="width: 100%;">
    <script src="main.js"></script>

</body>

</html>